include_rules = [
  "+ios/chrome/browser/history/model",
  "+ios/chrome/browser/sync/model",
  "+ios/chrome/browser/sessions",
  "+ios/chrome/browser/shared/ui/util/uikit_ui_util.h",
  "+ios/chrome/browser/prerender/model",
  "+ios/chrome/browser/variations/model",
  "+ios/chrome/browser/crash_report/model",
  "+ios/chrome/browser/voice/model",
  "+ios/chrome/browser/tabs/model",
  "+ios/chrome/browser/translate/model",
  "+ios/chrome/browser/web_state_list/model/session_metrics.h",
  "+ios/chrome/browser/signin/model",
]

specific_include_rules = {
  # web::HttpServer is deprecated in favor of net::EmbeddedTestServer.
  # TODO:(crbug.com/891834) Remove this exception.
  "tab_usage_recorder_egtest\.mm": [
    "+ios/web/public/test/http_server",
  ],

  "metrics_app_interface\.mm": [
    "+third_party/zlib/google/compression_utils.h",
  ],
  "ios_feed_enabled_metrics_provider.mm": [
    "+components/feed/core/shared_prefs/pref_names.h",
    "+ios/chrome/browser/ui/ntp/new_tab_page_feature.h",
  ],
  "ios_feed_enabled_metrics_provider_unittest.mm": [
    "+components/feed/core/shared_prefs/pref_names.h",
  ],

  # TODO(crbug.com/1294160): Remove these dependencies.
  "^incognito_usage_app_state_agent.mm": [
    "+ios/chrome/browser/shared/coordinator/scene/scene_state.h",
  ],
  "^ios_chrome_default_browser_metrics_provider.mm": [
    "+ios/chrome/browser/ui/default_promo/default_browser_utils.h",
    "+ios/chrome/browser/default_browser/model/utils.h",
  ],
  "^ios_chrome_metrics_service_client.mm": [
    "+ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.h",
  ],

  # TODO(crbug.com/1294160): Remove this dependency.
  "^web_state_list_metrics_browser_agent.mm": [
    "+ios/chrome/browser/shared/ui/util",
  ],
}
